extends "../cTDZ_3_1_1/cTDZ_3_1_1.gd"
func _info():
	pass

func _connect():
	._connect()
var baseId = ""
func _extInit():
	._extInit()
	lv = 4
	attCoe.atk *= 1.5
	attCoe.maxHp *= 1.5
	addCdSkill("njms3",13)
	addSkillTxt("海妖之歌：对攻击范围内所有敌人造成100%魔法伤害，并附加1层<沉默>和<沉睡>[cd:13秒]")
	
func _castCdSkill(id):
	._castCdSkill(id)
	if id == "njms3":
		var chas = getAllChas(1)
		for i in chas:
			if inrange(i.cell,cell,att.atkRan):
				i.addBuff(ctrl.b_chenshui.new(1))
				i.addBuff(ctrl.b_chenmo.new(1))
				hurtChara(i,att.atk,Chara.HurtType.MGI,Chara.AtkType.SKILL)

